Q3Point3D_TransformQuaternion
You can use theQ3Point3D_TransformQuaternion
function to transform a point by a quaternion.
TQ3Point3D *Q3Point3D_TransformQuaternion ( const TQ3Point3D *point, const TQ3Quaternion *quaternion, TQ3Point3D *result);
point
- A three-dimensional point.
quaternion
- A quaternion.
result
- On exit, a three-dimensional point that is the result of transforming the specified point by the specified quaternion.
DESCRIPTION
TheQ3Point3D_TransformQuaternion
function returns, as its function result and in theresult
parameter, a three-dimensional point that is the result of transforming the point specified by thepoint
parameter using the quaternion specified by thequaternion
parameter.